<!-- IF S_IN_SEARCH_POPUP -->
	<!-- INCLUDE simple_header.html -->
<!-- ELSE -->
	<!-- INCLUDE overall_header.html -->
<!-- ENDIF -->

	<!-- IF S_SHOW_GROUP -->

		<h2<!-- IF GROUP_COLOR --> style="color:#{GROUP_COLOR};"<!-- ENDIF -->>{GROUP_NAME}</h2>
		<p>{GROUP_DESC} {GROUP_TYPE}</p>

	<!-- ELSE -->
		<h2>{PAGE_TITLE}<!-- IF SEARCH_WORDS -->: <a href="{U_SEARCH_WORDS}">{SEARCH_WORDS}</a><!-- ENDIF --></h2>

		<div class="panel">
			<div class="inner"><span class="corners-top"><span></span></span>

			<ul class="linklist">
				<li>
				<!-- IF not S_IN_SEARCH_POPUP -->
				<!-- IF U_FIND_MEMBER --><a href="{U_FIND_MEMBER}">{L_SEARCH}</a> &bull;<!-- ENDIF -->
				<a href="{U_ALL_USERS}">{L_ALL}</a> &bull;
				<a href="{U_ACTIVE_USERS}">{L_MEMBERLIST_ACTIVE_USERS}</a> &bull;
				<a href="{U_INACTIVE_USERS}">{L_MEMBERLIST_INACTIVE_USERS}</a>
				<!-- ENDIF -->
				</li>
				<li class="rightside pagination">
					{TOTAL_USERS} &bull; 
					<!-- IF PAGINATION --><a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> &bull; <span>{PAGINATION}</span><!-- ELSE -->{PAGE_NUMBER}<!-- ENDIF -->
				</li>
			</ul>

			<span class="corners-bottom"><span></span></span></div>
		</div>
	<!-- ENDIF -->
	<!-- IF S_IN_SEARCH_POPUP or S_SEARCH_USER --><!-- INCLUDE memberlist_search.html --><!-- ENDIF -->
	<form method="post" action="{S_MODE_ACTION}"<!-- IF S_IN_SEARCH_POPUP --> id="results" onsubmit="insert_marked(this.user); return false"<!-- ENDIF -->>
	<!-- IF S_LEADERS_SET or not S_SHOW_GROUP or not .memberrow -->
	<div class="forumbg forumbg-table">
		<div class="inner"><span class="corners-top"><span></span></span>

		<table class="table1" cellspacing="1" id="memberlist">
		<thead>
		<tr>
			<!-- IF STYLE_ML_SHOW_ROW_NUMBERS --><th class="number">&nbsp;</th><!-- ENDIF -->
			<th class="name"><!-- IF STYLE_ML_SHOW_RANK --><span class="rank-img"><a href="{U_SORT_RANK}">{L_RANK}</a></span><!-- ENDIF --><a href="{U_SORT_USERNAME}"><!-- IF S_SHOW_GROUP and .memberrow -->{L_GROUP_LEADER}<!-- ELSE -->{L_USERNAME}<!-- ENDIF --></a></th>
			<!-- IF (STYLE_ML_SHOW_RATING or STYLE_ML_SHOW_RATING_DETAILED) and U_SORT_RATING --><th class="posts"><a href="{U_SORT_RATING}">{L_USER_RATING}</a></th><!-- ENDIF -->
			<!-- IF (STYLE_ML_SHOW_RATED or STYLE_ML_SHOW_RATED_DETAILED) and U_SORT_RATED --><th class="posts"><a href="{U_SORT_RATED}">{L_USER_RATED}</a></th><!-- ENDIF -->
			<!-- IF STYLE_ML_SHOW_POSTS --><th class="posts"><a href="{U_SORT_POSTS}">{L_POSTS}</a></th><!-- ENDIF -->
			<!-- IF STYLE_ML_SHOW_TOPICS --><th class="posts"><a href="{U_SORT_TOPICS}">{L_TOPICS}</a></th><!-- ENDIF -->
			<!-- IF STYLE_ML_SHOW_FROM or STYLE_ML_SHOW_WEBSITE --><th class="info"><!-- IF STYLE_ML_SHOW_WEBSITE --><a href="{U_SORT_WEBSITE}">{L_WEBSITE}</a><!-- ENDIF --><!-- IF STYLE_ML_SHOW_FROM and STYLE_ML_SHOW_WEBSITE -->{L_COMMA_SEPARATOR}<!-- ENDIF --><!-- IF STYLE_ML_SHOW_FROM --><a href="{U_SORT_LOCATION}">{L_LOCATION}</a><!-- ENDIF --></th><!-- ENDIF -->
			<!-- IF STYLE_ML_SHOW_JOINED --><th class="joined"><a href="{U_SORT_JOINED}">{L_JOINED}</a></th><!-- ENDIF -->
			<!-- IF STYLE_ML_SHOW_LAST_ACTIVE --><th class="active"><!-- IF U_SORT_ACTIVE --><a href="{U_SORT_ACTIVE}">{L_LAST_ACTIVE}</a><!-- ELSE -->{L_LAST_ACTIVE}<!-- ENDIF --></th><!-- ENDIF -->
		</tr>
		</thead>
		<tbody>
	<!-- ENDIF -->
		<!-- BEGIN memberrow -->
			<!-- IF S_SHOW_GROUP -->
				<!-- IF not memberrow.S_GROUP_LEADER and not $S_MEMBER_HEADER -->
				<!-- IF S_LEADERS_SET and memberrow.S_FIRST_ROW -->
				<tr class="bg1">
					<td colspan="100">&nbsp;</td>
				</tr>
				<!-- ENDIF -->
<!-- IF S_LEADERS_SET -->
		</tbody>
		</table>

	<span class="corners-bottom"><span></span></span></div>
</div>
<!-- ENDIF -->
<div class="forumbg forumbg-table">
	<div class="inner"><span class="corners-top"><span></span></span>

	<table class="table1" cellspacing="1">
	<thead>
	<tr>
	<!-- IF not S_LEADERS_SET -->
		<!-- IF STYLE_ML_SHOW_ROW_NUMBERS --><th class="number">&nbsp;</th><!-- ENDIF -->
		<th class="name"><!-- IF STYLE_ML_SHOW_RANK --><span class="rank-img"><a href="{U_SORT_RANK}">{L_RANK}</a></span><!-- ENDIF --><a href="{U_SORT_USERNAME}"><!-- IF S_SHOW_GROUP -->{L_GROUP_MEMBERS}<!-- ELSE -->{L_USERNAME}<!-- ENDIF --></a></th>
			<!-- IF (STYLE_ML_SHOW_RATING or STYLE_ML_SHOW_RATING_DETAILED) and U_SORT_RATING --><th class="posts"><a href="{U_SORT_RATING}">{L_USER_RATING}</a></th><!-- ENDIF -->
			<!-- IF (STYLE_ML_SHOW_RATED or STYLE_ML_SHOW_RATED_DETAILED) and U_SORT_RATED --><th class="posts"><a href="{U_SORT_RATED}">{L_USER_RATED}</a></th><!-- ENDIF -->
			<!-- IF STYLE_ML_SHOW_POSTS --><th class="posts"><a href="{U_SORT_POSTS}">{L_POSTS}</a></th><!-- ENDIF -->
			<!-- IF STYLE_ML_SHOW_TOPICS --><th class="posts"><a href="{U_SORT_TOPICS}">{L_TOPICS}</a></th><!-- ENDIF -->
			<!-- IF STYLE_ML_SHOW_FROM or STYLE_ML_SHOW_WEBSITE --><th class="info"><!-- IF STYLE_ML_SHOW_WEBSITE --><a href="{U_SORT_WEBSITE}">{L_WEBSITE}</a><!-- ENDIF --><!-- IF STYLE_ML_SHOW_FROM and STYLE_ML_SHOW_WEBSITE -->{L_COMMA_SEPARATOR}<!-- ENDIF --><!-- IF STYLE_ML_SHOW_FROM --><a href="{U_SORT_LOCATION}">{L_LOCATION}</a><!-- ENDIF --></th><!-- ENDIF -->
			<!-- IF STYLE_ML_SHOW_JOINED --><th class="joined"><a href="{U_SORT_JOINED}">{L_JOINED}</a></th><!-- ENDIF -->
			<!-- IF STYLE_ML_SHOW_LAST_ACTIVE --><th class="active"><!-- IF U_SORT_ACTIVE --><a href="{U_SORT_ACTIVE}">{L_LAST_ACTIVE}</a><!-- ELSE -->{L_LAST_ACTIVE}<!-- ENDIF --></th><!-- ENDIF -->
	<!-- ELSEIF S_SHOW_GROUP -->
		<!-- IF STYLE_ML_SHOW_ROW_NUMBERS --><th class="number">&nbsp;</th><!-- ENDIF -->
		<th class="name">{L_GROUP_MEMBERS}</th>
		<!-- IF (STYLE_ML_SHOW_RATING or STYLE_ML_SHOW_RATING_DETAILED) and U_SORT_RATING --><th class="posts">&nbsp;</th><!-- ENDIF -->
		<!-- IF (STYLE_ML_SHOW_RATED or STYLE_ML_SHOW_RATED_DETAILED) and U_SORT_RATED --><th class="posts">&nbsp;</th><!-- ENDIF -->
		<!-- IF STYLE_ML_SHOW_POSTS --><th class="posts">&nbsp;</th><!-- ENDIF -->
		<!-- IF STYLE_ML_SHOW_TOPICS --><th class="posts">&nbsp;</th><!-- ENDIF -->
		<!-- IF STYLE_ML_SHOW_FROM or STYLE_ML_SHOW_WEBSITE --><th class="info">&nbsp;</th><!-- ENDIF -->
		<!-- IF STYLE_ML_SHOW_JOINED --><th class="joined">&nbsp;</th><!-- ENDIF -->
		<!-- IF STYLE_ML_SHOW_LAST_ACTIVE --><th class="active">&nbsp;</th><!-- ENDIF -->
	<!-- ENDIF -->
	</tr>
	</thead>
	<tbody>
					<!-- DEFINE $S_MEMBER_HEADER = 1 -->
				<!-- ENDIF -->
			<!-- ENDIF -->

	<tr class="<!-- IF memberrow.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
		<!-- IF STYLE_ML_SHOW_ROW_NUMBERS --><td class="number">&nbsp;{memberrow.ROW_NUMBER}&nbsp;</td><!-- ENDIF -->
		<td><!-- IF STYLE_ML_SHOW_RANK --><!-- IF memberrow.RANK_IMG --><span class="rank-img">{memberrow.RANK_IMG}</span><!-- ELSE --><span class="rank-img">{memberrow.RANK_TITLE}</span><!-- ENDIF --><!-- ENDIF --><!-- IF S_IN_SEARCH_POPUP and not S_SELECT_SINGLE --><input type="checkbox" name="user" value="{memberrow.USERNAME}" /> <!-- ENDIF -->{memberrow.USERNAME_FULL}<!-- IF STYLE_ML_SHOW_GENDER --><!-- IF memberrow.S_GENDER_M --> <img src="{T_THEME_PATH}/images/icon_gender_m.gif" title="{L_GENDER}: {L_GENDER_M}" alt="M" /><!-- ELSEIF memberrow.S_GENDER_F --> <img src="{T_THEME_PATH}/images/icon_gender_f.gif" title="{L_GENDER}: {L_GENDER_F}" alt="F" /><!-- ENDIF --><!-- ENDIF --><!-- IF S_SELECT_SINGLE --><br />[&nbsp;<a href="#" onclick="insert_single('{memberrow.A_USERNAME}'); return false;">{L_SELECT}</a>&nbsp;]<!-- ENDIF --></td>
		<!-- IF (STYLE_ML_SHOW_RATING or STYLE_ML_SHOW_RATING_DETAILED) and U_SORT_RATING --><td class="posts"><!-- IF not RATE_NO_POSITIVE and not RATE_NO_NEGATIVE --><!-- IF STYLE_ML_SHOW_RATING and STYLE_ML_SHOW_RATING_DETAILED -->{memberrow.RATING} (+{memberrow.RATING_POSITIVE}/−{memberrow.RATING_NEGATIVE})<!-- ELSEIF STYLE_ML_SHOW_RATING_DETAILED -->+{memberrow.RATING_POSITIVE}/−{memberrow.RATING_NEGATIVE}<!-- ELSE --><span title="+{memberrow.RATING_POSITIVE}/−{memberrow.RATING_NEGATIVE}">{memberrow.RATING}</span><!-- ENDIF --><!-- ELSE -->{memberrow.RATING}<!-- ENDIF --></td><!-- ENDIF -->
		<!-- IF (STYLE_ML_SHOW_RATED or STYLE_ML_SHOW_RATED_DETAILED) and U_SORT_RATED --><td class="posts"><!-- IF not RATE_NO_POSITIVE and not RATE_NO_NEGATIVE --><!-- IF STYLE_ML_SHOW_RATED and STYLE_ML_SHOW_RATED_DETAILED -->{memberrow.RATED} (+{memberrow.RATED_POSITIVE}/−{memberrow.RATED_NEGATIVE})<!-- ELSEIF STYLE_ML_SHOW_RATED_DETAILED -->+{memberrow.RATED_POSITIVE}/−{memberrow.RATED_NEGATIVE}<!-- ELSE --><span title="+{memberrow.RATED_POSITIVE}/−{memberrow.RATED_NEGATIVE}">{memberrow.RATED}</span><!-- ENDIF --><!-- ELSE -->{memberrow.RATED}<!-- ENDIF --></td><!-- ENDIF -->
		<!-- IF STYLE_ML_SHOW_POSTS --><td class="posts"><!-- IF memberrow.POSTS and S_DISPLAY_SEARCH --><a href="{memberrow.U_SEARCH_USER}" title="{L_SEARCH_USER_POSTS}">{memberrow.POSTS}</a><!-- ELSE -->{memberrow.POSTS}<!-- ENDIF --></td><!-- ENDIF -->
		<!-- IF STYLE_ML_SHOW_TOPICS --><td class="posts"><!-- IF memberrow.TOPICS and S_DISPLAY_SEARCH --><a href="{memberrow.U_SEARCH_USER_TOPICS}" title="{L_SEARCH_USER_TOPICS}">{memberrow.TOPICS}</a><!-- ELSE -->{memberrow.TOPICS}<!-- ENDIF --></td><!-- ENDIF -->
		<!-- IF STYLE_ML_SHOW_FROM or STYLE_ML_SHOW_WEBSITE --><td class="info"><!-- IF memberrow.U_WWW and STYLE_ML_SHOW_WEBSITE or memberrow.LOCATION and STYLE_ML_SHOW_FROM --><!-- IF memberrow.U_WWW and STYLE_ML_SHOW_WEBSITE --><div><a href="{memberrow.U_WWW}" title="{L_VISIT_WEBSITE}: {memberrow.U_WWW}"<!-- IF EXTERNAL_LINKS_NEWWINDOW --> target="_blank"<!-- ENDIF --><!-- IF EXTERNAL_LINKS_NOFOLLOW --> rel="nofollow"<!-- ENDIF -->>{memberrow.U_SHORT_WWW}</a></div><!-- ENDIF --><!-- IF memberrow.LOCATION and STYLE_ML_SHOW_FROM --><div>{memberrow.LOCATION}</div><!-- ENDIF --><!-- ELSE -->&nbsp;<!-- ENDIF --></td><!-- ENDIF -->
		<!-- IF STYLE_ML_SHOW_JOINED --><td>{memberrow.JOINED}</td><!-- ENDIF -->
		<!-- IF STYLE_ML_SHOW_LAST_ACTIVE --><td>{memberrow.VISITED}</td><!-- ENDIF -->
	</tr>
		<!-- BEGINELSE -->
	<tr class="bg1">
		<td colspan="100">{L_NO_MEMBERS}</td>
	</tr>
		<!-- END memberrow -->
	</tbody>
	</table>

	<span class="corners-bottom"><span></span></span></div>
</div>

<!-- IF S_IN_SEARCH_POPUP and not S_SELECT_SINGLE -->
<fieldset class="display-actions">
	<input type="submit" name="submit" value="{L_SELECT_MARKED}" class="button2" />
	<div><a href="#" onclick="marklist('results', 'user', true); return false;">{L_MARK_ALL}</a> &bull; <a href="#" onclick="marklist('results', 'user', false); return false;">{L_UNMARK_ALL}</a></div>
</fieldset>
<!-- ENDIF -->

<!-- IF S_IN_SEARCH_POPUP -->
</form>
<form method="post" id="sort-results" action="{S_MODE_ACTION}">
<!-- ENDIF -->

<!-- IF S_IN_SEARCH_POPUP and not S_SEARCH_USER -->
<fieldset class="display-options">
	<!-- IF PREVIOUS_PAGE --><a href="{PREVIOUS_PAGE}" class="left-box {S_CONTENT_FLOW_BEGIN}">{L_PREVIOUS}</a><!-- ENDIF -->
	<!-- IF NEXT_PAGE --><a href="{NEXT_PAGE}" class="right-box {S_CONTENT_FLOW_END}">{L_NEXT}</a><!-- ENDIF -->
	<label for="sk">{L_SELECT_SORT_METHOD}: <select name="sk" id="sk">{S_MODE_SELECT}</select></label> 
	<label for="sd">{L_ORDER} <select name="sd" id="sd">{S_ORDER_SELECT}</select> <input type="submit" name="sort" value="{L_SUBMIT}" class="button2" /></label>
</fieldset>
<!-- ENDIF -->

</form>

<hr />

<ul class="linklist">
	<li class="rightside pagination">{TOTAL_USERS} &bull; <!-- IF PAGINATION --><a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> &bull; <span>{PAGINATION}</span><!-- ELSE -->{PAGE_NUMBER}<!-- ENDIF --></li>
</ul>

<!-- IF S_IN_SEARCH_POPUP -->
	<!-- INCLUDE simple_footer.html -->
<!-- ELSE -->
	<!-- INCLUDE jumpbox.html -->
	<!-- INCLUDE overall_footer.html -->
<!-- ENDIF -->